<!DOCTYPE html>
<html>
<body>
    <style>
        table td
        {
            border: 5px solid green;
            border-left: 0px;
        }
        table
        {
            border-collapse: separate;
            border-spacing: 0px;
        }
        td {
            height: 20px;
            width: 120px;
            padding: 0px;
        }
    </style>
    <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=87900">87900</a>: Add support for direction on table row group with collapsing borders</p>
    <p>This test checks that a rtl table with a ltr row group properly compute its separate borders when the left borders are disabled.</p>
    <p>For this test to pass, there should be only green borders on the cells and no left border on the table.</p>
    <table dir="rtl">
        <tbody dir="ltr">
        <tr>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    </table>
</body></html>
